using Drill.Extensibility;

namespace Drill.Configuration
{
    /// <summary>
    /// Represents configuration data for dependency resolver configuration sources.
    /// </summary>
	public class ConfigSourceConfiguration : object, IConfigSourceConfiguration
    {
        /// <summary>
		/// Gets a value indicating whether this <see cref="ConfigSourceConfiguration"/> is enabled.
        /// </summary>
        /// <value><c>true</c> if enabled; otherwise, <c>false</c>.</value>
        public bool Enabled { get; set; }

        /// <summary>
        /// Gets the key.
        /// </summary>
        /// <value>The key.</value>
        public string Key { get; set; }

        /// <summary>
        /// Gets the configuration method used by the dependency resolver.
        /// </summary>
        /// <value>The name of the dependency resolver.</value>
        public DrillBitConfigMethod Method { get; set; }

        /// <summary>
        /// Gets the name of the dependency resolver.
        /// </summary>
        /// <value>The name of the dependency resolver.</value>
        public string Value { get; set; }
    }
}